package com.awakensoftware.hunterserver.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping("/*")
public class ManageMapController {

	
	@RequestMapping(value = "/admin", method = RequestMethod.GET)
	public String home() {
		return "home";
	}
	
	@RequestMapping(value = "/angular", method = RequestMethod.GET)
	public String angular() {
		return "index";
	}
	
	@RequestMapping(value = "/maps", method = RequestMethod.GET)
	public String manageMaps() {
		return "maps/manageMaps";
	}
	
	@RequestMapping(value = "/chests", method = RequestMethod.GET)
	public String manageChests() {
		return "chests/manageChests";
	}	
	
	@RequestMapping(value = "/treasures", method = RequestMethod.GET)
	public String manageTreasures() {
		return "treasures/manageTreasures";
	}
	
}
